<%@ Page Language="C#" MasterPageFile="~/MasterPage/RetailEmployeeMasterPage.master" AutoEventWireup="true" CodeFile="EquipmentManage.aspx.cs" Inherits="EmployeePage_EquipmentManage" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
        <asp:View ID="View1" runat="server">
            <table style="width: 576px; height: 313px">
                <tr>
                    <td colspan="3" style="height: 24px; width: 930px;">
                        <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">Addnew</asp:LinkButton></td>
                </tr>
                <tr>
                    <td colspan="3" rowspan="2" style="width: 930px">
                        <asp:GridView ID="gvEquipment" runat="server" AutoGenerateColumns="False" CellPadding="4"
                            ForeColor="#333333" GridLines="None" OnRowCommand="gvEmployee_RowCommand"
                            Width="888px" Height="208px">
                            <RowStyle BackColor="#EFF3FB" />
                            <Columns>
                                <asp:BoundField DataField="EquipmentID" HeaderText="Equipment ID" />
                                <asp:BoundField DataField="EquipmentName" HeaderText="Equipment Name" />
                                <asp:BoundField DataField="EquipmentAmount" HeaderText="Equipment Amount" />
                                <asp:TemplateField HeaderText="Detail" ShowHeader="False">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("EquipmentID") %>'
                                            CommandName="Detail">Detail</asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#2461BF" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                        &nbsp;</td>
                </tr>
                <tr>
                </tr>
            </table>
        </asp:View>
        <asp:View ID="Detail" runat="server" EnableTheming="False">
            <center>
                <table style="width: 526px; height: 212px">
                    <tr>
                        <td align="center" colspan="2">
                            Detail Of Equipment</td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 174px; height: 26px;">
                            Equipment ID:</td>
                        <td align="left" style="width: 175px; height: 26px;">
                            <asp:TextBox ID="txtID" runat="server" ReadOnly="True" Width="150px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 174px; height: 26px">
                            Equipment Name:
                        </td>
                        <td align="left" style="width: 175px; height: 26px">
                            <asp:TextBox ID="txtName" runat="server" Width="150px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 174px; height: 26px">
                            Equipment Description:
                        </td>
                        <td align="left" style="width: 175px; height: 26px">
                            <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" Width="297px" Height="103px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 174px; height: 26px">
                            Equipment Amount:</td>
                        <td align="left" style="width: 175px; height: 26px">
                            <asp:TextBox ID="txtAmount" runat="server" Width="150px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" rowspan="6">
                            <asp:Button ID="btBack" runat="server" CausesValidation="False" OnClick="btBack_Click"
                                Text="Back" Width="80px" />
                            <asp:Button ID="btAdd" runat="server" Text="Add" Width="80px" OnClick="btAdd_Click" />&nbsp;<asp:Button
                                ID="btDelete" runat="server" Text="Delete" Visible="False"
                                Width="80px" OnClick="btDelete_Click" />&nbsp;
                            <asp:Button ID="btReset" runat="server" Text="Reset" Width="80px" OnClick="btReset_Click" />&nbsp;
                            <asp:Label ID="lbMesss" runat="server" ForeColor="#00C000"></asp:Label>
                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                        </td>
                    </tr>
                    <tr>
                    </tr>
                    <tr>
                    </tr>
                    <tr>
                    </tr>
                    <tr>
                    </tr>
                    <tr>
                    </tr>
                </table>
            </center>
        </asp:View>
    </asp:MultiView>
</asp:Content>

